home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
VISUALBA
/
DFVB10.ZIP
/
DFRAMEVB.DOC
< prev
next >
Wrap
Text File
|
1993-01-06
|
61KB
|
1,162 lines
D O O R F R A M E
Version 1.0
A BBS Doors Development Library
for the Visual Basic DOS compiler
Copyright (c) 1992
by Ted Freeman
All rights reserved.
Support board is:
MicroNet PCBoard
Node1: 615-626-1620 ULTRA
DOORFRAME v1.0 - Users Guide - Page i
C O N T E N T S
=================
Warranty ............................................ ii
Copyright notice .................................... ii
Distribution ........................................ ii
Description ......................................... ii
BOX.IT .............................................. 1
BACK.SPACE .......................................... 2
CLREOL .............................................. 2
CLRMOL .............................................. 2
CLRSOL .............................................. 2
CLRSCRN ............................................. 2
DE.LAY .............................................. 2
DETECT.ANSI ......................................... 2
DIS.PLAY ............................................ 3
ENTER ............................................... 4
EXIT.DOOR ........................................... 4
IN.PUT .............................................. 4
INITIALIZE .......................................... 5
LINES ............................................... 5
MAKE.BLT ............................................ 6
MAKE.BLT.CURRENT .................................... 6
MORE ................................................ 6
MUSIC ............................................... 6
OUT.PUT ............................................. 6
SEND ................................................ 7
SHOW.BLT ............................................ 7
COLOR TABLE ......................................... 8
CONFIGURATION FILE FORMAT ........................... 9
PCBOARD.SYS VARIABLES ............................... 10
USERS.SYS VARIABLES ................................. 12
DOOR.SYS VARIABLES .................................. 13
USERINFO.DAT VARIABLES .............................. 15
DORINFOx.DEF VARIABLES .............................. 15
CALLINFO.BBS VARIABLES .............................. 16
SFDOORS.DAT VARIABLES ............................... 18
CHAIN.TXT VARIABLES ................................. 20
MISCELLANEOUS NOTES ................................. 21
DOORFRAME v1.0 - Users Guide - Page ii
Warranty
This product is provided "as is" without warranty of any kind. The entire
risk as to the results and performance of the program is assumed by you.
Futhermore, the author does not warrant, guarantee, or make any other
representations regarding the use of, or the results of the use of the
program, and you rely on the program and results solely at your own
risk. The author cannot and will not accept responsibility for system
damage, loss of profit, or any other special, consequential or incidental
damages resulting from the use or inability to use this product.
Copyright
DOORFRAME Copyright (c) 1990-92 by Ted Freeman is being distributed as
Shareware. Under this concept you may use the SHAREWARE (unregistered)
version for a reasonable period of time for evaluation after which you
must either register your copy or discontinue usage.
Distribution
You are encouraged to distribute DOORFRAME provided that all files
contained in the archive are distributed in their original and
unmodified state.
Description
DOORFRAME is a subroutine library for developing online BBS Doors for
systems that are compatible with PCBOARD.SYS, USERS.SYS, DOOR.SYS,
CALLINFO.BBS, USERINFO.DAT, SFDOORS.DAT, CHAIN.TXT, or DORINFOx.DEF for
interfacing to the BBS.
This version of DoorFrame was written for BASCOM (tm) 7.x and is not
recommended for use with earlier versions of the compiler. DoorFrame also
utilizes some of the routines contained in Tom Hanlin's PBClone library.
The COM routines are handled by the QBSerial I/O library.
NOTE: A version of DoorFrame is also available for Quickbasic 4.x.
DOORFRAME v1.0 - Users Guide - Page 1
DOORFRAME ROUTINES
====================
NOTE:
Since the subroutines are DECLAREd in DFRAMEX.INC (you DID $INCLUDE: it didn't
you?) you should not use the CALL statement. Type the name of the subroutine
and list it's parameters (if any) without the enclosing parentheses.
For example:
DIS.PLAY MSG$, FG%, BG%, BLINK%, BELL%, XPOS%, YPOS%, NL%, CENTER%, CAPS%
------------------------------------------------------------------------------
SUBROUTINE:
BOX.IT SROW%,SCOL%,EROW%,ECOL%,BTYPE%,BFG%,BBG%,FFG%,FBG%,FCHAR%,SHADOW%,TITLE$,HFG%,HBG%
PARAMETERS: SROW% - ROW the box is to start at. Valid numbers are 1 - 22.
Accepts an INTEGER number or variable.
SCOL% - COLUMN the box is to start at. Valid numbers are 1 - 79.
Accepts an INTEGER number or variable.
EROW% - ROW the box is to end at. Valid numbers are 2 - 23.
Accepts an INTEGER number or variable.
ECOL% - COLUMN the box is to end at. Valid numbers are 2 - 80.
Accepts an INTEGER number or variable.
BTYPE% - Type of border. Accepts an INTEGER number or variable.
0 = No border (spaces all the way around).
1 = Single line all the way around.
2 = Double line all the way around.
3 = Double line on sides, single on top and bottom.
4 = Single line on sides, double on top and bottom.
BFG% - Foreground color of the border. (See color table)
Accepts an INTEGER number or variable.
BBG% - Background color of the border. (See color table)
Accepts an INTEGER number or variable.
FFG% - Foreground color of the box fill characters.
Accepts an INTEGER number or variable.
FBG% - Background color of the box fill characters.
Accepts an INTEGER number or variable.
FCHAR% - ASCII number of the character to fill box with.
EX: 32 = SPACE, 65 = A, 206 = ╬
SHADOW% - 1 = Shadow, 0 = no Shadow. This will put a Shadow
on the right and bottom edges of the box.
TITLE$ - Displays a title centered on the top border.
Accepts a STRING variable or QUOTED TEXT.
HFG% - Foreground color of TITLE$
HFG% - Background color of TITLE$
DESCRIPTION: Draws a BOX with various style borders. The inside of the
BOX may be filled with any ASCII character you choose. The
upper left corner of the screen is ROW 1, COLUMN 1 and the
bottom right is ROW 23, COLUMN 80.
DOORFRAME v1.0 - Users Guide - Page 2
SUBROUTINE: BACK.SPACE ROW%, COL%, NUM%
PARAMETERS: ROW%, COL%, NUM%
DESCRIPTION: Backspaces NUM% from the ROW% and COL% specified.
SUBROUTIN